package com.boot.domain;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

/**
 * @author
 * @date 2025-07-29
 * @Description
 */
@ConfigurationProperties("user1")
@Data
public class User {

    //user.name
    private String name ;
    //user.age
    private int age ;

    private List<String> hobby ;

    private List<String> phone ;

    private Parent parent ;

    private List<Friend> friends ;
}
